package io.github.yotta.logger.manager.manager;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.yotta.common.api.model.Paging;
import io.github.yotta.logger.api.request.LogPageQueryRequest;
import io.github.yotta.logger.manager.entity.LogOperation;

import java.util.List;

/**
 * @author yotta
 * @date 2023/3/26 18:33
 */
public interface LogManager extends IService<LogOperation> {

    /**
     * 日志记录分页查询
     *
     * @param request 查询参数
     * @return 日志记录
     */
    Paging<LogOperation> page(LogPageQueryRequest request);

    List<LogOperation> list(LogPageQueryRequest request);
}
